home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Files / MoreIsBetter / MIB-Libraries / MorePrefix.h < prev   
Encoding:
C/C++ Source or Header  |  1998-09-25  |  1.2 KB  |  44 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        MorePrefix.h
  3.  
  4.     Contains:    prefix header for MoreIsBetter
  5.  
  6.     Written by:    Pete Gontier (PCG)
  7.  
  8.     Copyright:    Copyright (c) 1998 Apple Computer, Inc.
  9.  
  10.                 You may incorporate this Apple sample source code into your program(s) without
  11.                 restriction. This Apple sample source code has been provided "AS IS" and the
  12.                 responsibility for its operation is yours. You are not permitted to redistribute
  13.                 this Apple sample source code as "Apple sample source code" after having made
  14.                 changes. If you're going to re-distribute the source, we require that you make
  15.                 it clear in the source that the code was descended from Apple sample source
  16.                 code, but that you've made changes.
  17.  
  18.     Change History (most recent first):
  19.  
  20.          <2>     7/24/98    PCG        rid of triplet #includes
  21.          <2>     6/23/98    PCG     add copyright disclaimer stuff
  22.          <1>     6/23/98    PCG     initial checkin
  23. */
  24.  
  25.  
  26. #pragma once
  27.  
  28. #define OLDROUTINELOCATIONS        0
  29. #define OLDROUTINENAMES            0
  30. #define SystemSevenOrLater        1
  31.  
  32. #include <Errors.h>
  33.  
  34. #ifndef MORE_DEBUG
  35. #    define MORE_DEBUG 1
  36. #endif
  37.  
  38. #if MORE_DEBUG
  39. #    define MoreAssert(x) \
  40.         ((x) ? true : (DebugStr ("\pMoreAssert failure: " #x), false))
  41. #else
  42. #    define MoreAssert(x) (true)
  43. #endif
  44.